/**
 * Created by admin on 2016/7/26.
 */
$(".addUser").click(function(){
    $("html").css({"overflow":"hidden","height":"100%"});
    $("body").css({"overflow":"hidden","height":"100%"});
    $('.mask').css("display","block");
});
$('button.addNewPerson').click(function () {
    window.location.href="infomation.html";
});
var birthday = $('p.getInfo span:nth-child(1)').text();
var height   = $('p.getInfo span:nth-child(2)').text();
var weight   = $('p.getInfo span:nth-child(3)').text();
console.log("birthday:"+birthday+"height"+height+"weight"+weight);


$('#birthday').attr('value',birthday);
$('#height').attr('value',height);
$('#weight').attr('value',weight);